ITracker

interface ITracker

Interface for the Tracker.

Inheritors

Functions

Link copied to clipboard
abstract fun abortSurvey()
Call this method to indicate that the Survey has been aborted.
Link copied to clipboard
abstract fun acceptInvitation()
Call this method to indicate that the Survey Invitation has been accepted
Link copied to clipboard
abstract fun applicationExited()
Call this method to indicate that the application has exited.
Link copied to clipboard
abstract fun applicationLaunched()
Call this to indicate that the application has been launched.
Link copied to clipboard
abstract fun checkState()
Link copied to clipboard
abstract fun completeSurvey()
Call this method to indicate that the Survey has been completed
Link copied to clipboard
abstract fun declineInvitation()
Call this method to indicate that the Survey Invitation has been declined
Link copied to clipboard
Link copied to clipboard
abstract fun getPageViews(): Int
Gets the page view/activity count
Link copied to clipboard
abstract fun getState(): PersistedState
Link copied to clipboard
Link copied to clipboard
abstract fun incrementPageViewCount()
Call this method to increment the activity count
Link copied to clipboard
Call this to increment the event count for a given significant event.
Link copied to clipboard
abstract fun initializeWithState(persistedState: PersistedState)
initialize this Tracker persistenceSerializer with a specific PersistedState
Link copied to clipboard
abstract fun onNetworkDisconnected()
Link copied to clipboard
abstract fun reset()
Resets all persisted state
Link copied to clipboard
abstract fun resetCounters()
Resets all counters and state
Link copied to clipboard
Call this to reset the event count for a given significant event.
Link copied to clipboard
abstract fun resetSignificantEvents()
Call this to reset all significant events.
Link copied to clipboard
abstract fun setDeclineDate(declineDate: Date)
Link copied to clipboard
abstract fun setNotificationService(notificationService: NotificationService)
Link copied to clipboard
abstract fun setRespondentId(respondentId: String)
Link copied to clipboard
abstract fun setSignificantEventCount(key: String, value: Int)
Call this to set the event count for a given significant event.
Link copied to clipboard
abstract fun setViewPresenter(viewPresenter: TrackerViewPresenter)
Link copied to clipboard
abstract fun triggerInvitation(surveyId: String)
Link copied to clipboard
abstract fun triggerSurvey(surveyId: String)
Display the Survey view
Link copied to clipboard
abstract fun updateWithNewConfiguration(serviceClient: ITrackerServiceClient, configuration: IConfiguration)